<!DOCTYPE html>
<html style="height: 100%; font-size: 14px">
    <head>
        <meta name="spreadjs culture" content="zh-cn" />
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link rel="stylesheet" type="text/css" href="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity/spread-sheets/styles/gc.spread.sheets.excel2013white.css" />
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/js/FileSaver.js" type="text/javascript"></script>
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity/spread-sheets/dist/gc.spread.sheets.all.min.js" type="text/javascript"></script>
                <!-- https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity-software/spread-sheets-pdf/dist/gc.spread.sheets.pdf.min.js -->
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity/spread-sheets-print/dist/gc.spread.sheets.print.min.js" type="text/javascript"></script>
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity/spread-sheets-pdf/dist/gc.spread.sheets.pdf.min.js" type="text/javascript"></script>

        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/zh/purejs/node_modules/@grapecity/spread-sheets-resources-zh/dist/gc.spread.sheets.resources.zh.min.js" type="text/javascript"></script>
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/js/license.js" type="text/javascript"></script>
        <script src="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/data/exportPDF.js" type="text/javascript"></script>
        <script src="app.js" type="text/javascript"></script>
        <link rel="stylesheet" type="text/css" href="styles.css" />
    </head>
    <body>
        <div class="sample-tutorial">
            <div id="ss" class="sample-spreadsheets"></div>
            <div class="options-container">
                <div class="container">
                    <p>Adjust the options below then click the <b>Set PrintInfo</b> button to apply these options to the Spread PrintInfo.</p>
                    <p>Click the <b>Export PDF</b> button to see how these settings affect the way the workbook is saved to PDF.</p>
                    <div class="row">
                        <div class="group">
                            <label>RowStart:</label>
                            <input id="rowStart" />
                        </div>
                        <div class="group">
                            <label>RowEnd:</label>
                            <input id="rowEnd" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>ColumnStart:</label>
                            <input id="columnStart" />
                        </div>
                        <div class="group">
                            <label>ColumnEnd:</label>
                            <input id="columnEnd" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>RepeatRowStart:</label>
                            <input id="repeatRowStart" />
                        </div>
                        <div class="group">
                            <label>RepeatRowEnd:</label>
                            <input id="repeatRowEnd" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>RepeatColumnStart:</label>
                            <input id="repeatColumnStart" />
                        </div>
                        <div class="group">
                            <label>RepeatColumnEnd:</label>
                            <input id="repeatColumnEnd" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>
                                <input type="checkbox" id="showBorder" />
                                ShowBorder
                            </label>
                        </div>
                        <div class="group">
                            <label>
                                <input type="checkbox" id="showGridLine" />
                                ShowGridLine
                            </label>
                        </div>
                        <div class="group">
                            <label>
                                <input type="checkbox" id="blackAndWhite" />
                                Black And White
                            </label>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>ShowRowHeader:</label>
                            <select id="showRowHeader">
                                <option value="0">Inherit</option>
                                <option value="1">Hide</option>
                                <option value="2">Show</option>
                                <option value="3">ShowOnce</option>
                            </select>
                        </div>
                        <div class="group">
                            <label>ShowColumnHeader:</label>
                            <select id="showColumnHeader">
                                <option value="0">Inherit</option>
                                <option value="1">Hide</option>
                                <option value="2">Show</option>
                                <option value="3">ShowOnce</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="group">
                            <label>HeaderLeft:</label>
                            <input id="headerLeft" />
                        </div>
                        <div class="group">
                            <label>HeaderLeftImage:</label>
                            <select id="headerLeftImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>HeaderCenter:</label>
                            <input id="headerCenter" />
                        </div>
                        <div class="group">
                            <label>HeaderCenterImage:</label>
                            <select id="headerCenterImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>HeaderRight:</label>
                            <input id="headerRight" />
                        </div>
                        <div class="group">
                            <label>HeaderRightImage:</label>
                            <select id="headerRightImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>FooterLeft:</label>
                            <input id="footerLeft" />
                        </div>
                        <div class="group">
                            <label>FooterLeftImage:</label>
                            <select id="footerLeftImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>FooterCenter:</label>
                            <input id="footerCenter" />
                        </div>
                        <div class="group">
                            <label>FooterCenterImage:</label>
                            <select id="footerCenterImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label>FooterRight:</label>
                            <input id="footerRight" />
                        </div>
                        <div class="group">
                            <label>FooterRightImage:</label>
                            <select id="footerRightImage">
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/apple.jpg">Apple</option>
                                <option value="https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/spread/source/images/olympic.jpg">Olympic</option>
                            </select>
                        </div>
                    </div>

                    <div class="row">
                        <div class="group">
                            <label></label>
                            <input type="button" id="btnSetPrintInfo" value="Set PrintInfo" />
                        </div>
                    </div>
                    <hr style="border: 1px solid white; border-bottom-color: lightgray" />
                    <div>
                        <input type="button" style="margin-bottom: 6px" value="Export PDF" id="savePDF" />
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
